package com.tydic.product.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tydic.common.core.enums.Status;
import com.tydic.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("dxbm_product")
public class Product extends BaseEntity {

    @Serial
    private static final long serialVersionUID = -3254882860877337796L;
    @TableId


    private String id;

    private String declarationNumber;

    private String number;

    private String productCostId;

    private String productCostCategory;

    private String productCostName;

    private String title;

    private String specification;

    private String quantity;

    private String quantityUnit;

    private String measureUnit;

    private String price;

    private String realPrice;

    private String posterList;

    private String declarationPhotoList;

    private String sale;

    private String auditStatus;

    private String bordererInfoId;

    private String bordererInfoName;
    @TableField("proc_inst_id_")
    private String procInstId;

    private BigDecimal taxation;

    private BigDecimal serviceCharge;

    private BigDecimal profit;

    private String parentProductId;

    private String borderGroupId;

    private String borderAgentId;

    private String borderAgentName;

    private String groupStatus;

    private String bordererInfoCardNumber;

    private String borderAgentCardNumber;

    private String borderIdCardNumber;

    private String borderPhoneNumber;

    private String bordererGroup;

    private String totalPrice;

    private String totalRealPrice;

    private String totalQuantity;

    private String remarks;

    private String status = Status.ENABLED.getValue();
}
